'GLcore'], name = _('NVIDIA accelerated graphics driver'), description = _('3D-accelerated proprietary graphics driver for NVIDIA cards.'), rationale = _('This driver is required to fully utilise the 3D potential of NVIDIA graphics cards, as well as provide 2D acceleration of newer cards.\n\nIf you wish to enable desktop effects, this driver is required.\n\nIf this driver is not enabled, you will not be able to enable desktop effects and will not be able to run software that requires 3D acceleration, such as some games.'))
self._recommended = None
self._do_rebind = False
def id(self):
'''Return an unique identifier of the handler.'''
if self.package:
self.version = self.package.split('-')[-1]
i = 'xorg:' + self.module + '-' + self.version
else:
i = 'xorg:' + self.module
if self.driver_vendor:
i += ':' + self.driver_vendor.replace(' ', '_')
return i
def available(self):
if self.package:
self.version = self.package.split('-')[-1]
if int(self.version) < 96:
logging.debug('NVIDIA legacy driver not currently supported')